package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCatalogService {
    PageInfo<StrategyCatalog> query(QueryObject qo);

    void saveOrUpdate(StrategyCatalog entity);

    /**
     * 查询所有启用的攻略分类
     * @return
     */
    List<StrategyCatalog> list(Long strategyId);
}
